package com.example.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("delivery")
@ApiModel(value="delivery对象", description="")
public class Delivery {
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @ApiModelProperty(value = "用id")
    private int uid;
    private String deliveryer;
    private String car;
    @ApiModelProperty(value = "状态")
    private int status;
}
